package com.kgc.sbt.api;


import com.kgc.sbt.domain.Favorite;


import java.util.List;

/**
 * Created on 2021/6/23 0023.
 * <p>
 * Author: px
 * <p>
 * Description:
 */
public interface FavoriteApi {
    
    /**
     * @Author px
     * @Date 2021/6/23 0023
     * @Param 
     * @Description: 根据用户id显示收藏列表
     **/
    // List<Favorite> queryFavoriteByUserId(Integer userId);

    /**
     * @Author px
     * @Date 2021/6/23 0023
     * @Param
     * @Description: 添加收藏
     **/
    Boolean addFavoriteById(Integer goodsId, Integer userId);
    
    /**
     * @Author px
     * @Date 2021/6/23 0023
     * @Param 
     * @Description: 移出收藏
     **/
    Boolean delFavoriteById(Integer goodsId, Integer userId);





}
